package com.ht.medicaltreatment.fragment

import android.os.Bundle
import androidx.fragment.app.Fragment
import com.gym.baselib.base.BaseFragment
import com.ht.medicaltreatment.R
import kotlinx.android.synthetic.main.fragment_check_pager_layout.*

class CheckPagerFragment:BaseFragment() {
    companion object{
        fun createFragment(type:String):Fragment{
            val fragment = CheckPagerFragment()
            val bundle = Bundle()
            bundle.putString("type",type)
            fragment.arguments = bundle
            return fragment
        }
    }
    override fun getLayoutResId() = R.layout.fragment_check_pager_layout

    override fun init() {
        R.drawable.bg_green_center
        R.drawable.bg_green_check_left
        R.drawable.bg_red_center
        R.drawable.icon_check_center
        R.drawable.icon_check_left
    }
}